package com.mifengs.commonbusines.entity;

/**
 * Created by lynn on 2018/1/29.
 */

public class MqttMsg {

    /**
     * status : 1
     * msg : OK
     * results : {"url":"/envelope","type":"1","imageurl":"http://","message":"来自分享的红包"}
     */

    private String status;
    private String msg;
    private ResultsBean result;

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public ResultsBean getResults() {
        return result;
    }

    public void setResult(ResultsBean result) {
        this.result = result;
    }

    public static class ResultsBean<T> {
        /**
         * url : /envelope
         * type : 1
         * imageurl : http://
         * message : 来自分享的红包
         */

        private String url;
        private String redirectUrl;
        private String type;
        private String alertType;
        private String imageurl;
        private T message;
        private String content;
        private String imgUrl;
        private String appAction;
        private String pushType;
        private String amount;
        private int total;

        public String getUrl() {
            return url;
        }

        public void setUrl(String url) {
            this.url = url;
        }

        public String getType() {
            return type;
        }

        public void setType(String type) {
            this.type = type;
        }

        public String getImageurl() {
            return imageurl;
        }

        public void setImageurl(String imageurl) {
            this.imageurl = imageurl;
        }

        public T getMessage() {
            return message;
        }

        public void setMessage(T message) {
            this.message = message;
        }

        public String getContent() {
            return content;
        }

        public void setContent(String content) {
            this.content = content;
        }

        public String getImgUrl() {
            return imgUrl;
        }

        public void setImgUrl(String imgUrl) {
            this.imgUrl = imgUrl;
        }

        public String getAppAction() {
            return appAction;
        }

        public void setAppAction(String appAction) {
            this.appAction = appAction;
        }

        public String getRedirectUrl() {
            return redirectUrl;
        }

        public void setRedirectUrl(String redirectUrl) {
            this.redirectUrl = redirectUrl;
        }

        public String getPushType() {
            return pushType;
        }

        public void setPushType(String pushType) {
            this.pushType = pushType;
        }

        public String getAmount() {
            return amount;
        }

        public void setAmount(String amount) {
            amount = amount;
        }

        public String getAlertType() {
            return alertType;
        }

        public void setAlertType(String alertType) {
            this.alertType = alertType;
        }

        public int getTotal() {
            return total;
        }

        public void setTotal(int total) {
            this.total = total;
        }
    }

}
